import React, {PropTypes} from 'react'
import {bindActionCreators} from 'redux'
import {connect} from 'react-redux'
import { browserHistory, Link } from 'react-router'
import {getCookie,getKey} from '../../util'

class Index extends React.Component {

  constructor(props) {
    super(props)
    this.state={
    }
  }
  /**
     * 加载页面之前
     * 获取数据内容
     * @return {[type]} [description]
     */
  componentWillMount() {
    //加载之前
  }
  componentWillReceiveProps(nextProps){
    // 重新获取页面数据
  }
  render() {
    return (
      <div>
        
      </div>
    )
  }
}

function mapStateToProps(state) {
  return {
  }
}

function mapDispatchToProps(dispatch) {
  return {
  }
}

export default connect(mapStateToProps, mapDispatchToProps)(Index)
